﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YesBlog.Framework.Entity
{
    /// <summary>
    /// 实体类基类
    /// </summary>
    public class EntityBase:IEntity
    {
        /// <summary>
        /// 自增Id
        /// </summary>
        [Key]
        public virtual int Id { get; set; }

    }
}
